import java.util.ArrayList;
import java.util.List;

public class OrderSelectionStrategy implements SelectionStrategy {
    @Override
    public List<Paper> selectPapers(List<Paper> available, int quantity) {
        if (available.size() <= quantity) {
            return new ArrayList<>(available);
        }
        return available.subList(0, quantity);
    }
}    